package com.yuanfeng.activity.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
 * @ClassName
 * @Description
 * @Author cyp
 * @Date 2023-06-13 09:05:20
 * @Version 1.0
 **/
@FeignClient(name = "mall-business", url = "http://localhost:8087")
public interface BusinessServiceClient {

    /**
     * 根据shopId查询shopName  feign
     * @param shopId
     * @return
     */
    @PostMapping(value = "/shopBase/info/select/shopName")
    public String selectShopNameByShopId(@RequestParam("shopId") String shopId);

}
